var config = {
    apis: {
        sd: {
            real: "http://10.171.12.148:10022/ashx/dataManage/HCInterface.ashx?action=getNewData&datatype=minute",
            hour: "http://10.171.12.148:10022/ashx/dataManage/HCInterface.ashx?action=getHistoryData&datatype=hour&startDate={start}&endDate={end}&mn={mn}",
        }

    },
    db: {
        dbUrl: "http://10.171.12.147:8086",
        dbName: "datapool",

    },
    inds: {
        co: { k: "co", iqiFlag: 1 },
        no2: { k: "no2", iqiFlag: 1 },
        so2: { k: "so2", iqiFlag: 1 },
        o3: { k: "o3", iqiFlag: 1 },
        pm25: { k: "pm25", iqiFlag: 1 },
        pm10: { k: "pm10", iqiFlag: 1 },
        tsp: { k: "tsp", iqiFlag: 0 },
        ta: { k: "ta", iqiFlag: 0 },
        ua: { k: "ua", iqiFlag: 0 },
        ws: { k: "ws", iqiFlag: 0 },
        wd: { k: "wd", iqiFlag: 0 }
    },
    iqiTab: [
        /*
            ik  iqi iqi_l   iqi_h   timeFlag
            ------------------------------------------
            co  0   0       2      24           
            co  0   0       5      1           
            co  50   2      4      24           
            co  50   5      10      1           
        */
        { ik: "co", il: 0, ih: 2, tf: 24, iqi: 0 },
        { ik: "co", il: 0, ih: 5, tf: 1, iqi: 0 },
        { ik: "co", il: 4, ih: 4, tf: 24, iqi: 50 },
        { ik: "co", il: 5, ih: 10, tf: 1, iqi: 50 },
    ]
};

module.exports = {
    config
}